package com.promfy.anonymousshare;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.RadioButton;
import android.widget.ToggleButton;

import com.promfy.anonymousshare.domain.Login;
import com.promfy.anonymousshare.service.LoginManager;

public class RegisterActivity extends Activity implements OnClickListener{

	private EditText userNameEt;
	private EditText passwordEt;
	private Button loginBtn;
	private Button registerBtn;
	private RadioButton rememberPasswordRbtn;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_register);
		
		initViews();
		initData();
	}

	private void initData() {
		
	}

	private void initViews() {
		registerBtn = (Button)findViewById(R.id.register);
	}

	@Override
	public void onClick(View v) {
		switch (v.getId()) {

		case R.id.register:
			Intent intent = new Intent(RegisterActivity.this, MainTabActivity.class);
			try{
				startActivity(intent);
			}catch (Exception e) {
				e.printStackTrace();
			}
			break;

		default:
			break;
		}
		
	}

	

}
